package com.biz.model.common;
/*************************************************************************
 * 文件名称 ：Page.java                   
 * 描述说明 ：
 * 
 * 创建信息 : create by 刘佳佳 on 下午8:07:40
 * 修订信息 : modify by ( ) on (date) for ( )
 * 
 * 版权信息 : Copyright (c) 2015 扬州北斗科技有限公司 
 **************************************************************************/

public class Page {
	private String id;
	private int begin=0;
	private int page;
	private int rows;
	private String sort;
	private String order;
	public Page() {
		super();
		// TODO Auto-generated constructor stub
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public int getPage() {
		return page;
	}
	public void setPage(int page) {
		this.page = page;
	}
	public int getRows() {
		return rows;
	}
	public void setRows(int rows) {
		this.rows = rows;
	}
	public String getSort() {
		return sort;
	}
	public void setSort(String sort) {
		this.sort = sort;
	}
	public String getOrder() {
		return order;
	}
	public void setOrder(String order) {
		this.order = order;
	}
	public int getBegin() {
		return (page-1)*rows;
	}
	public void setBegin(int begin) {
		this.begin = begin;
	}
	
	
}
